package com.ghck.server.model.response;

import java.util.ArrayList;
import java.util.List;

import com.ghck.server.model.TestQuestion;
import com.ghck.server.model.TestQuestionItem;

public class TestQuestionRes extends TestQuestion {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private List<TestQuestionItem> testQuestionItemList = null;

	public List<TestQuestionItem> getTestQuestionItemList() {
		return testQuestionItemList;
	}

	public void setTestQuestionItemList(List<TestQuestionItem> testQuestionItemList) {
		this.testQuestionItemList = testQuestionItemList;
	}
	
	public void addTestQuestionItem(TestQuestionItem item){
		if(testQuestionItemList==null){
			testQuestionItemList = new ArrayList<TestQuestionItem>();
		}
		testQuestionItemList.add(item);
	}
	
}
